import VueRouter from 'vue-router'
import HomeComponent from './components/tabbar/HomeContainer.vue'
import MemberComponent from './components/tabbar/MemberContainer.vue'
import SearchComponent from './components/tabbar/SearchContainer.vue'
import ShopcarComponent from './components/tabbar/ShopcarContainer.vue'
import NewsListComponent from './components/news/NewsList.vue'



var router = new VueRouter({
    routes: [
        { path: '/', redirect: '/home' },
        { path: '/home', component: HomeComponent },
        { path: '/member', component: MemberComponent },
        { path: '/search', component: SearchComponent },
        { path: '/shopcar', component: ShopcarComponent },
        { path: '/home/newslist', component: NewsListComponent }
    ],
    linkActiveClass: 'mui-active'
})

export default router